package com.mxchip.livestarmobile.mobile.av.screen;


import java.util.Objects;

public class PreviewScreen implements Screen {

    public PreviewScreen(Type type) {
        this.type = type;
    }

    public Type type;

    public enum Type {
        FrontCamera, HDMICamera, WIFICamera
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        PreviewScreen that = (PreviewScreen) o;
        return type == that.type;
    }

    @Override
    public int hashCode() {
        return Objects.hash(type);
    }
}
